package com.asialjim.wechat.official.message.wiki.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <h1><em>ASIAL JIM JAVA DOC</em></h1><hr/>
 * <h2>CLASS DESCRIPTION <i>[ NAME: MsgWikiUrl ]</i></h2><strong>
 * <p> msg wiki url
 * </strong><p><p><em>Copyright &copy; Asial Jim Co., LTD</em><hr/>
 *
 * @author Asial Jim &nbsp;&nbsp; <span>Email:<a href="mailto:asialjim@hotmail.com">asialjim@hotmail.com</a> &nbsp;&nbsp; <a href="asialjim@qq.com">asialjim@qq.com</a></span>
 * @version 1.0.0
 * @since 2021/3/22   &nbsp;&nbsp; JDK 8
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("T_MSG_WIKI_URL")
public class MsgWikiUrl implements Serializable {
    private static final long serialVersionUID = -2967913796324705356L;

    @ApiModelProperty("编号，由后台生成")
    @TableId(type = IdType.INPUT)
    private String id;

    @ApiModelProperty("链接，当type为text或者news时有效")
    private String url;

    @ApiModelProperty("图片链接，支持JPG、PNG格式，较好的效果为大图360*200，小图200*200")
    private String picUrl;

    @ApiModelProperty("音乐链接")
    private String musicUrl;

    @ApiModelProperty("高质量音乐链接")
    private String hqMusicUrl;

    @ApiModelProperty("略缩图媒体编号")
    private String thumbMediaId;
}
